package org.knight.gearbox.code;

import org.springframework.asm.ClassReader;
import org.springframework.cglib.transform.ClassReaderGenerator;

public class CodeGenerator {



    public void generate() {
        readDefination();
        parseDefination();
        generateClassFile();
    }


    public void readDefination() {
        //read defination from configuration as inputStream

    }



    public void parseDefination() {
        //parse input stream build model definition
        // build AST?
    }


    public void generateClassFile() {
        // generate class file  to be reloaded by class loader


    }
}
